package util.fileReader;

import org.apache.commons.lang3.StringUtils;

public class FileUtils {

	static String DOT = ".";
	public static String getSuffix(String fileName) {
		if (StringUtils.isEmpty(fileName) || !fileName.contains(DOT)) {
			return StringUtils.EMPTY;
		}
		return fileName.substring(fileName.lastIndexOf(DOT) + 1);
	}
}
